function queryUser(){
    var formParams=$("#queryForm").serialize();
    var query=Qs.parse(formParams);
    console.log(query)
    $("#userTb").bootstrapTable("refresh",{query})
}

function queryParams(params){
    var formParams=$("#queryForm").serialize();
    var query=Qs.parse(formParams);
    Object.assign(params,query);
    return params;
}

function actionFormatter(){
    var edit=`<button class="cc btn btn-warning">关闭</button>`
    return edit;
}

$.get("/getBy")
    .done(list=>{
        list.forEach(function(row){
            var opt=$("<option/>");
            opt.val(row.id);
            opt.text(row.reqname);
            opt.appendTo("#queryForm [name=requeststatus]");
        });
    });
